package org.youyun56.gpsserver.entity;

import org.youyun56.gpsserver.command.GlobalProperties;

public class Car {
    private Long id;
    private String carId;
    private String carMobile;
    private String pwd;
    private Integer cityId;
    private String carryStatus;
    private String lastPositionTime;
    private String position;
    private Integer focusCity;
    private Integer province;
    private Integer partner;
    private String imsi;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getCarMobile() {
        return carMobile;
    }

    public void setCarMobile(String carMobile) {
        this.carMobile = carMobile;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getCarryStatus() {
        return carryStatus;
    }

    public void setCarryStatus(String carryStatus) {
        this.carryStatus = carryStatus;
    }

    public String getLastPositionTime() {
        return lastPositionTime;
    }

    public void setLastPositionTime(String lastPositionTime) {
        this.lastPositionTime = lastPositionTime;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Integer getFocusCity() {
        return focusCity;
    }

    public void setFocusCity(Integer focusCity) {
        this.focusCity = focusCity;
    }

    public Integer getProvince() {
        return province;
    }

    public void setProvince(Integer province) {
        this.province = province;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder("ID= ").append(id).append(GlobalProperties.NEWLINE);
        sb.append("carMobile= ").append(carMobile);
        return sb.toString();
    }

    public void setPartner(Integer partner) {
        // TODO Auto-generated method stub
        this.partner = partner;
    }

    public Integer getPartner() {
        return partner;
    }

    public String getImsi() {
        return imsi;
    }

    public void setImsi(String imsi) {
        this.imsi = imsi;
    }

}
